package com.briup.estore.bean;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

import org.apache.ibatis.type.Alias;

import lombok.Data;

@Data
@Alias("OrderForm")
public class OrderForm {
//	 ID                                        NOT NULL NUMBER(12)
//	 COST                                      NOT NULL NUMBER(9,2
//	 ORDERDATE                                 NOT NULL DATE
//	 ADDRESS_ID                                         NUMBER(7)
//	 CUSTOMER_ID                                        NUMBER(7)

	private BigInteger id;
	private Double cost;
	private Date orderdate;
	private BigInteger address_id;
	private BigInteger customer_id;

	private Customer customer;
	private Address address;

	private List<OrderLine> orderLines;
}
